package com.sup.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.org.apache.xpath.internal.operations.Bool;
import com.sup.generator.beans.GrUserBean;
import com.sup.generator.beans.GrRegisterGrUserBean;
import com.sup.generator.entity.GrUserEntity;

/**
 * @author Zh
 * @version v1.0
 * @description:
 * @date 2020/11/13 11:38
 */
public interface GrUserService extends IService<GrUserEntity> {

    GrUserBean login(String name, String password);

    GrUserEntity register(GrUserEntity grUserEntity);

    GrUserEntity getByName(String name);

    Boolean loginOut(Long userId);


}
